#define _CRT_SECURE_NO_WARNINGS

#include<iostream>

using namespace std;


template<class T>
class compareLess
{
public:
	bool operator()(const T& a1,const T& a2)
	{
		return a1 < a2;
	}
};

int main()
{
	compareLess<int> less;
	int a = 30;
	int b = 20;
	//cout<<less.operator()(a,b)<<endl;
	cout<<less(a,b)<<endl;

	return 0;
}